package model

import (
	"gitee.com/xuxinzhi2206/corehub/database/mysql"
	"gorm.io/gorm"
)

func WithMysql() {
	err := mysql.WithMysql(func(db *gorm.DB) error {
		return db.AutoMigrate(new(Order))
	})
	if err != nil {
		return
	}
}
